package com.cai.xiaobai.entity.DTO.fromInfo.addFrom;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class QuestionDTO {

    @Schema(description = "问题的类型1单选 2多选 3填空")
    private Integer questionType;

    @Schema(description = "如果选择类型是单选或者多选就要填这个选项数据")
    private List<OptionDTO> optionList;

    @Schema(description = "问题内容")
    private String questionName;

    @Schema(description = "问题描述")
    private String questionDescribe;

    @Schema(description = "问题排序")
    private Integer questionSort;

    @Schema(description = " 是否非必填 0非必填 1必填")
    private Boolean questionFlag;


}
